<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
    <head>
        <LINK REL=StyleSheet HREF="maintenancePagesCSS.css" TYPE="text/css" />
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>Delete Entry</title>
    </head>

 


        <script type='text/javascript' src='tabber.js'></script>
        <link rel='stylesheet' href='triumph.css' TYPE='text/css' MEDIA='screen'>


        <script type='text/javascript'>

            /* Optional: Temporarily hide the 'tabber' class so it does not 'flash'
           on the page as plain HTML. After tabber runs, the class is changed
           to 'tabberlive' and it will appear. */

            document.write('<style type='text/css'>.tabber{display:none;}<\/style>');
        </script>


    </head>
    <body onLoad="">

<?php
$CustProID = $_GET['id'];
$row = $_GET['row'];

        include "ProductDetails.php";
        include "ProductDetailsDao.php";
        include "Datasource.php";
        include "CustomerProductDao.php";
        include "CustomerProduct.php";
        include "TicketDao.php";
        include "Ticket.php";


        $prod = new ProductDetails();
        $prodDao = new ProductDetailsDao();
        $customerProd = new CustomerProduct();
        $customerProdDao = new CustomerProductDao();
        $conn = new Datasource("localhost","theanykey","root","");
        $customerProd->setCustomerProductID($CustProID);
        $customerProd = $customerProdDao->getObject($conn, $CustProID);
        $prod = $prodDao->getObject($conn, $customerProd->getProductDetailsID());
        
        
?>
      <center>
       <form method="post" action="ProductDeleteFunc.php" id="deleteEntry">
        <p>Permanently Delete The Entry?</p>
        <table class="menuDiv2">
           
            <tr align="center">
                <td>
                    Ticket ID                </td>
                <td>
                    Manufacturer                </td>
                <td>
                    Model Number                </td>
                <td>
                    Serial Number                </td>
                <td>
                    Tech Notes                </td>
            </tr>
        
<?php
print("<tr align='center'
                        <td>".$customerProd->getTicketID()."</td>
                        <td>".$prod->getManufacturer()."</td>
                        <td>".$prod->getModelNo()."</td>
                        <td>".$prod->getSerialNo()."</td>
                        <td>".$prod->getTechNotes()."</td>

                  </tr>
                  <tr></tr><tr></tr>
                ");
?>

        </table>
		  <BR>
		  <BR>
		   <input type='submit' value='Submit'/>
           <input type="hidden" name="postID" value="<?php echo $CustProID; ?>"/>
       </form>
      </center>
    </body>
</html>